//引入封装的请求服务
import { POST, UPLOAD } from '@/services/request.js';

// 导出接口
const base = {
    leaseadd(data = {}) {
        return UPLOAD({
            url: '/product/lease/add',
            params: data
        })
    },
    leaseindex(data = {}) {
        return POST({
            url: '/product/lease/index',
            params: data
        })
    },
    leaseinfo(data = {}) {
        return POST({
            url: '/product/lease/info',
            params: data
        })
    },
    leaseexpress(data = {}) {
        return POST({
            url: '/product/lease/express',
            params: data
        })
    },
    leaseconfirm(data = {}) {
        return POST({
            url: '/product/lease/confirm',
            params: data
        })
    },
    leaselogistics(data = {}) {
        return POST({
            url: '/product/lease/logistics',
            params: data 
        })
    },
    leaserecovery(data = {}) {
        return POST({
            url: '/product/lease/recovery',
            params: data 
        })
    },
    leasecomment(data = {}) {
        return POST({
            url: '/product/lease/comment',
            params: data 
        })
    }
}

export default base